import request from '@/utils/request'

export default {
  // 分页条件查询模块列表
  uploadImg(data = {}) {
    return request({
      url: `/article/pri/file/upload`,
      method: 'post',
      data
    })
  },

  deleteImg(fileUrl) {
    return request({
      url: `/article/pri/file/delete`,
      method: 'post',
      data: {
        fileUrl
      }
    })
  }
}

